package com.zyark.web.response;

/**
 * ClassName: Json  <br/>
 * Function:  <br/>
 * Reason:  <br/>
 * Date: 2017-05-24 10:25 <br/>
 *
 * @author Ku_ker
 * @version 1.0
 * @JDK 1.7
 */
public class Json implements java.io.Serializable {

    private boolean success = false;

    private String msg;

    private Object obj;

    private int code = ResponseCode.FAIL.getCode();

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}

